package com.dataseek.iot.device.service;


import com.dataseek.iot.device.entity.DeviceAttrValue;
import com.dataseek.iot.device.entity.DeviceAttrValueHis;
import com.dataseek.iot.device.vo.DeviceAttValueVo;

import java.util.List;


public interface DeviceAttValueService {
    //查询设备属性
    public DeviceAttValueVo queryDeviceAttList(String deviceCode, String attCode, Integer num, Integer size);

    //查询设备属性
    public List<DeviceAttrValue> queryDeviceAttList(String deviceCode, String attCode);

    //修改设备属性信息
    public Integer updateDeviceAtt(DeviceAttrValue deviceAttrValue);

    //新增设备属性信息
    public Integer insertDeviceAtt(DeviceAttrValue deviceAttrValue);

    //删除设备属性
    public Integer deleteDeviceAtt(String deviceCode);

    //历史属性新增
    public Integer insertDeviceAttHis(DeviceAttrValueHis deviceAttrValueHis);

    //历史属性查询
    public List<DeviceAttrValueHis> queryDeviceAttHisList(String deviceCode, String attCode,String queryDay);
}
